#! /bin/sh

# Copyright (C) 2010 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

./kpsestat = nonesuch 2>/dev/null && exit 1

for f in . kpsestat kpsestat.o; do
  echo "kpsestat = $f => `./kpsestat = $f`"
done

for m in -rw g-r u-w o+x -rw,u+s -rw,g+s -rw,o+t; do
  echo "kpsestat $m kpsestat.o => `./kpsestat $m kpsestat.o`"
done

echo "kpsestat = \$srcdir => `./kpsestat = $srcdir`"
echo "kpsestat = \$srcdir/ => `./kpsestat = $srcdir/`"
echo "kpsestat = \$srcdir/kpsestat.c => `./kpsestat = $srcdir/kpsestat.c`"

